using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using T2.WebSecurity.ASPMVC.Entity.Search;
using T2.WebSecurity.ASPMVC.Entity.Search.Interface;
using T2.WebSecurity.Business.Entities.Search.Interfaces;
using T2.WebSecurity.Business.Entities.Search;


//--Change Management Control - UserProfile ASPMVC Entity Translator  --**********************
//--Created By: James Rooks
//--Description: UserProfile Translator
//--Created Date: 02/05/2013 18:24:12
//--*************************************************************
namespace T2.WebSecurity.ASPMVC.Entity.Translators.Search
{
	public partial class UserProfileUISearchTranslator 
	{
		public IUserProfileSearch_biz TranslateToBusinessLayer(IUserProfileSearch_ui _translateFrom)
        {
            IUserProfileSearch_biz temp = new UserProfileSearch_biz();
		
			if(_translateFrom != null)
			{
			
			temp.UserName = _translateFrom.UserName;
			temp.FirstName = _translateFrom.FirstName;
			temp.LastName = _translateFrom.LastName;
			temp.Address = _translateFrom.Address;
			temp.City = _translateFrom.City;
			temp.Region = _translateFrom.Region;
			temp.PostalCode = _translateFrom.PostalCode;
			temp.OfficePhone = _translateFrom.OfficePhone;
			temp.CellPhone = _translateFrom.CellPhone;
			temp.Title = _translateFrom.Title;
			
			
			}
			return temp;
			
		}
		
		
	
	}


}


 

	
	
